﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Office.Tools.Ribbon;

namespace VSTOSAP
{
    public partial class Ribbon1
    {
        private Form sapTableForm = null;

        private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
        {
            
        }

        private void btnTableExplorer_Click(object sender, RibbonControlEventArgs e)
        {
            if (sapTableForm == null) {
                sapTableForm = new SAPTableForm();
            }
            sapTableForm.ShowDialog();
        }
    }
}
